//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.example.erp.exception;

public class OpenSystemException extends SystemException {
    private static final long serialVersionUID = -427919774313417519L;

    public OpenSystemException(String errorCode, String desc) {
        super(errorCode, desc);
    }

    public OpenSystemException(ErrorCode errorCode) {
        this(errorCode.getErrorCode(), errorCode.getErrorReason());
    }

    public String getMessage() {
        return this.getErrorCode() + "-" + this.getErrorReason();
    }
}
